<template>
    <div class="home">
        <p>这是子组件</p>
         <mt-swipe class="swp" :auto="4000">
            <mt-swipe-item>
                <img src="http://img4.imgtn.bdimg.com/it/u=1952016862,1880307894&fm=26&gp=0.jpg" alt="">
            </mt-swipe-item>
            <mt-swipe-item>
            <img style="width:100%;" src="http://tupian.qqjay.com/u/2017/1201/2_161641_2.jpg" alt="">
            </mt-swipe-item>
            <mt-swipe-item>
            <img src="http://pic.58pic.com/58pic/11/68/32/08658PICred.jpg" alt="">
            </mt-swipe-item>
        </mt-swipe>
    </div>
</template>
<script>
export default {
  components: {
    
  },
  data() {
    return {
     
    }
  }
}
</script>
<style lang="scss" scoped>
i {
    font-size: 20px;
}
.swp{
    width: 100%;
    height: 200px;
}
img{
    width: 100%;
}
</style>
